<?php 
if(!defined('ADMIN')){
	exit('Access Denied');
}

$act_arr=array('list','addedi','del','set');
?>
<div class="pageContent">
<form action="index.php?mod=<?=MOD?>&act=<?=ACT?>" method="post"  class="pageForm required-validate"  name="form1" onsubmit="return validateCallback(this, dialogAjaxDone);">
<input type="hidden" name="id" value="<?=$row['id']?>" />
<input type="hidden" name="sub" value="save" />
<div class="pageFormContent" layoutH="60">
<p><label>模型名称：</label>
<input name="title" type="text" size="20"  id="title" value="<?=$row['title']?>" class="required" /></p>
<p><label>数据表名：</label>
<input name="tablename" type="text" size="20"  id="tablename" value="<?=$row['tablename']?>"   remote="index.php?mod=<?=MOD?>&act=<?=ACT?>&id=<?=$row['id']?>&do=check" />&nbsp;<span></span></p>

<p><label>描述：</label>
<input name="content" type="text" size="50"  id="content" value="<?=$row['content']?>" /></p>
</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
</form>
</div>
